package com.dq.controller.in.request;

import com.dq.domain.orders.UserOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liuhui
 * @date 2019/9/24 0024 09:06:23
 */
@ApiModel("用户购物车提交")
@Data
public class ShoppingcartPay {
    @ApiModelProperty("支付方式 alipay/wxpay")
    @NotBlank(message = "请选择支付类型")
    private UserOrder.PayType payType;

    @ApiModelProperty("购物车id")
    @NotBlank(message = "购物车数据为空")
    private Long cartId;

    @ApiModelProperty("提货门店id")
    protected Long orgId;

    @ApiModelProperty("留言")
    private String remark;

    @ApiModelProperty("用户优惠券id")
    private Long userCouponId;
}
